<?php

$tar = array(
'id' => 1,
'block' => array(
    array('bla' => 'deg'),
    array('bla' => 'dgrwe'),
    array('bla' => 'z5eqawwe')
)

);

switch ($_GET['file'])
{
    case 'test':
        echo json_encode($tar);
        break;
    
}
